<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page  import="java.util.*"%>
<%@ taglib uri="/oscache" prefix="oscache"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>SiteMesh example: <sitemesh:write property='title'/></title>
<sitemesh:write property='head'/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<oscache:cache time="10">
OSCache 标签缓存，10s 刷新一次:&nbsp;&nbsp;&nbsp;<%
out.print(new Date());
%>
</oscache:cache>
<br/>
<sitemesh:write property='body'/>


</body>
</html>